Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODLinkManager


DraftClosing

Document Shell

The DraftClosing method is called to notify this link manager that the specified draft is about to be closed.

void DraftClosing (in ODDraft draft);
draft
A reference to the draft to be closed.
DISCUSSION
The document shell calls this method before reverting or closing the specified draft. If the draft contains any cross-document links created since the last save, the link manager breaks those links at the source; on the Mac OS platform, it deletes the edition files for those links.

A container application can call the UnsavedExportedLinks method to determine whether closing the document without saving the draft would result in the loss of cross-document links.

SEE ALSO
The ODLinkManager::UnsavedExportedLinks method (page 369).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help